package cn.itzd.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: dada
 * @Version: 1.0
 * @Description:
 */
@Configuration
@ConfigurationProperties(prefix = "security.captcha")
@Data
public class CaptchaProperties {
    /**
     * 验证码开关
     */
    private Boolean enabled;

    /**
     * 验证码类型（math 数组计算 char 字符）
     */
    private String type;

    /**
     * 验证码计算长度
     */
    private int len;

}